package cn.edu.xmu.wnw.dao;

// default package

import java.util.List;

import org.springframework.context.ApplicationContext;

import cn.edu.xmu.wnw.pojo.SysCategory;

public interface SysCategoryDAO {

	public void initDao();

	public void save(SysCategory transientInstance);

	public void delete(SysCategory persistentInstance);

	public SysCategory findById(java.lang.Integer id);

	public List findByExample(SysCategory instance);

	public List findByProperty(String propertyName, Object value);

	public List findByName(Object name);

	public List findByDescription(Object description);

	public List findByState(Object state);

	public List findAll();

	public SysCategory merge(SysCategory detachedInstance);

	public void attachDirty(SysCategory instance);

	public void attachClean(SysCategory instance);

	public SysCategoryDAO getFromApplicationContext(ApplicationContext ctx);
}